<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="ressource/css/main.css" type="text/css" rel="stylesheet"/>
		<script src="lib/websocket/swfobject.js" type="text/javascript"></script>
		<script src="lib/websocket/web_socket.js" type="text/javascript"></script>
		<script>
			WEB_SOCKET_SWF_LOCATION = "lib/websocket/WebSocketMain.swf";
		</script>
		<script src="lib/prototype/prototype.js" type="text/javascript"></script>
		
		<script type="text/javascript" src="src/Utils.js"></script>
		<script type="text/javascript" src="src/VNCClient.js"></script>
		<script type="text/javascript" src="src/VNCBase64Renderer.js"></script>		
		<script type="text/javascript" src="src/VNCCanvasRenderer.js"></script>		
		<script type="text/javascript" src="src/FrontendController.js"></script>		
		<title>FuzzyKitten VNC Client</title>
    </head>
    <body>
	<div class="connstatus disconnected"><label id='status'>Not connected</label></div>
	<div id="ctrlBox" class="controlBox">
		<div class="title">Login</div>
		<div class="gr"></div>
		<div class="content">
			<div class="niceText">
				<label>Host</label>
				<input signal="Host" type="text" autocapitalization="off" id="txtHost"></input>
				<div class="spacer" style="display:inline-block;width:50px"></div>
				<label>Port</label>
				<input signal="Port" type="text" id="txtPort" autocapitalization="off" style='width:50px'></input>
			</div>
			<div class="niceText">
				<label>Use TLS</label>
				<input class='chkBox' signal="SSL" type="checkbox" id="secureFlag" style='width:50px'></input>
			</div>
		</div>
		<div class="buttons">
			<button signal="Connect" class="genericBtn icon connect" id="connectBtn">
				<span class="" onclick="return true">
					Connect
				</span>
			</button>
			<button signal="Disconnect" class="genericBtn disabled icon disconnect" disabled="true" id="disconnectBtn">
					Disconnect
			</button>
			<p style='font-size:8px;color: #454545'>
			V 0.1 alpha - 
			<a href="http://code.google.com/p/fuzzykitten-vnc">The fuzzyKitten team</a>. Licensed under the GPLv2.
			</p>
		</div>
	</div>
	<div id="workarea" class="mainView">
		
	</div>

	<canvas style="display:none" id="canvasCheck"></canvas> 
	<script type="text/javascript">
		document.ontouchmove = function(e){
	        e.preventDefault();
		}
		new FrontendController({
			controls: 'ctrlBox'		  
		}); 		
	</script>
	
    </body>
</html>
